package cn.damai.search.baseService;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import cn.damai.search.vo.ItemSearchVo;

import java.util.List;
import java.util.Map;

public interface BaseItemSearchService {

    ItemSearchVo getItemsearchById(@RequestParam(value = "id") Long id);

    List<ItemSearchVo> getItemsearchListByMap(@RequestParam Map<String, Object> param);

    Integer getItemsearchCountByMap(@RequestParam Map<String, Object> param);

    Integer   insertItemsearch(@RequestBody ItemSearchVo itemSearchVo);

    Integer updateItemsearch(@RequestBody ItemSearchVo itemSearchVo);

    List<ItemSearchVo> queryItemTypeGrouping(Map<String, Object> param);

    List<ItemSearchVo> queryAreaGrouping(Map<String, java.lang.Object> param);

    List<ItemSearchVo> queryItemType2Grouping(Map<String, java.lang.Object> param);


}
